package nuc.soft.xsf.dao.impl;


import nuc.soft.xsf.dao.IPaperDao;
import nuc.soft.xsf.dao.impl.base.BaseDaoImpl;
import nuc.soft.xsf.model.Paper;

public class PaperDaoImpl extends BaseDaoImpl<Paper> implements IPaperDao{
	public PaperDaoImpl() {
		   super.setNameSpace("nuc.soft.xsf.mapper.PaperMapper");
		
	}
	public int insert(Paper paper){
		this.getSqlSession().insert("nuc.soft.xsf.mapper.PaperMapper" + ".insert", paper);
		int id=paper.getPaperId();
		return id;
	}
	
	
	
}
